package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * 蔬菜成本实体
 */
@ApiModel(value="蔬菜成本实体", description="蔬菜成本实体")
@Data
public class FlowerCost implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;

	@Excel(name = "库房", width = 15,dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
	@ApiModelProperty(value = "库房")
	@Dict( dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
	private String storehouse;

	@Excel(name = "成本中心", width = 15 , dicCode = "ch_cost")
	@Dict(dicCode = "ch_cost",dicText = "costText")
	@ApiModelProperty(value = "成本中心")
	private String cost;

	/**出库时间*/
	@Excel(name = "出库时间", width = 15 )
	@ApiModelProperty(value = "出库时间")
	private String time;


	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private Integer number;

	@Excel(name = "总价", width = 15)
	@ApiModelProperty(value = "'总价'")
	private BigDecimal totalprice;


}
